home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / bibtex / h / site < prev    next >
Encoding:
Text File  |  1990-01-19  |  5.4 KB  |  170 lines

  1. /*
  2.  * Master configuration file for WEB to C.
  3.  *
  4.  * Tim Morgan  2/13/88
  5.  *    Last updated 10/25/88
  6.  */
  7.  
  8. /*
  9.  * Default editor command string: %d expands to the line number where
  10.  * TeX or Metafont found an error and %s expands to the name of the file.
  11.  */
  12. #define EDITOR          "twin %s -line %d" /* Does this work reversed? */
  13. /*#define    EDITOR        "/usr/ucb/vi +%d %s"*/
  14.  
  15. /*
  16.  * If the type "int" is at least 32 bits (including a sign bit), this
  17.  * symbol should be #undef'd; otherwise, it should be #define'd.  If
  18.  * your compiler uses 16-bit int's, arrays larger than 32kb may give
  19.  * you problems, especially if indices are automatically cast to int's.
  20.  */
  21. #undef    SIXTEENBIT
  22.  
  23. /*
  24.  * Our character set is 7-bit ASCII unless NONASCII is defined.
  25.  * For other character sets, make sure that first_text_char and
  26.  * last_text_char are defined correctly in TeX (they're 0 and 127,
  27.  * respectively, by default).  In the file tex.defines, change
  28.  * the indicated range of type "char" to be the same as
  29.  * first_text_char..last_text_char, re-tangle, and "#define NONASCII".
  30.  */
  31. #undef    NONASCII
  32.  
  33. /* Define if we're running under System V */
  34. #undef    SYSV
  35.  
  36. /* Define if we're running under 4.2 or 4.3 BSD */
  37. #undef    BSD
  38.  
  39. #define RISCOS
  40.  
  41. /*
  42.  * Define this if web2c will be compiled with an ANSI-C compiler.
  43.  * It also changes web2c so that by default it produces ANSI-C as
  44.  * its output.
  45.  */
  46. #define    ANSI
  47.  
  48. /* Define this if web2c will be running under DOS with Microsoft C */
  49. #undef    MS_DOS
  50.  
  51. /*
  52.  * The type "schar" should be defined here to be the smallest signed
  53.  * type available.  ANSI C compilers may need to use "signed char".
  54.  * If you don't have signed characters, then define schar to be the
  55.  * type "short".
  56.  */
  57. typedef    signed char schar;
  58.  
  59. /*
  60.  * The type "integer" must be a signed integer capable of holding at
  61.  * least the range of numbers (-2^31)..(2^32-1).
  62.  * The ANSI draft C standard says that "long" meets this requirement.
  63.  */
  64. typedef long integer;
  65.  
  66. /* Boolean can by any convenient type */
  67. typedef char boolean;
  68.  
  69. /*
  70.  * The type glueratio should be a floating-point type which won't
  71.  * unnecessarily increase the size of the memoryword structure.
  72.  * This is the basic requirement.  On most machines, if you're
  73.  * building a normal-sized TeX, then glueratio must probably meet
  74.  * the following restriction: sizeof(glueratio) <= sizeof(integer).
  75.  * Usually, then, glueratio must be of type "float".  But
  76.  * if you build a BIG TeX, you can (on most machines) and should
  77.  * make it "double" to avoid loss of precision and conversions
  78.  * to and from double during calculations.
  79.  */
  80. typedef float glueratio;
  81.  
  82. /*
  83.  * Type "real" can by any convenient floating-point type; usually double
  84.  * is best since it gives more precision and most C compilers convert
  85.  * float to double anyway.
  86.  */
  87. typedef double real;
  88.  
  89. /*
  90.  * Define MAXPATHLENGTH to be the maximum number of characters in a
  91.  * search path.  This is used to size the buffers for TEXINPUTS,
  92.  * MFBASES, etc.
  93.  */
  94. #define    MAXPATHLENGTH    1024
  95.  
  96. /*
  97.  * TeX search paths: This is what we use at UCI, which probably won't be
  98.  * what you use.
  99.  */
  100. /*
  101. #define    TEXINPUTS    ".:/usr/local/lib/tex82"
  102. #define    TEXFONTS    ".:/usr/local/lib/fonts/tfm"
  103. #define    TEXPOOL        ".:/usr/local/lib/tex82"
  104. #define    TEXFORMATS    ".:/usr/local/lib/tex82"
  105. */
  106. #define TEXINPUTS       ",texinputs:"
  107. #define TEXFONTS        ",texfonts:"
  108. #define TEXPOOL         ",texformats:"
  109. #define TEXFORMATS      ",texformats:"
  110.  
  111. /* Metafont search paths */
  112. /*
  113. #define    MFINPUTS    ".:/usr/local/lib/mf84"
  114. #define    MFBASES        ".:/usr/local/lib/mf84/bases"
  115. #define    MFPOOL        ".:/usr/local/lib/mf84"
  116. */
  117. #define MFINPUTS        ",mfinputs:"/* Note bug - ":" is an item seperator!! */
  118. #define MFBASES         ",mfbases:"
  119. #define MFPOOL          ",texformats:"
  120.  
  121. /*
  122.  * BibTeX search path for .bib files.
  123.  * NB: TEXINPUTS is used by BibTeX to search for .bst files.
  124.  */
  125. #define    BIBINPUTS    ",BiBinputs:"
  126.  
  127. /*
  128.  * Metafont Window Support: More than one may be defined, as long
  129.  * as you don't try to have X10 and X11 support in the same binary
  130.  * (because there are conflicting routine names in the libraries).
  131.  * If you define one or more of these windowing systems, BE SURE
  132.  * you update the top-level Makefile accordingly.
  133.  */
  134. #undef    SUNWIN            /* SunWindows support */
  135. #undef    X10WIN            /* X Version 10 support */
  136. #undef    X11WIN            /* X Version 11 support */
  137. #undef    HP2627WIN        /* HP 2627 support */
  138. #undef    TEKTRONIXWIN        /* Tektronix 4014 support */
  139.  
  140. /* NB: You can't define X10WIN and X11WIN simultaneously */
  141. #if defined(X10WIN) && defined(X11WIN)
  142. syntax error
  143. #endif
  144.  
  145. /*
  146.  * The maximum length of a filename including a directory specifier.
  147.  * This value is also defined in the change files for tex, mf, and bibtex,
  148.  * so it appears in the relevant .h as "filenamesize".  It can be safely
  149.  * changed in these files if necessary, although you should really edit
  150.  * the files tex/ctex.ch and mf/cmf.ch.  Most sites should not have to
  151.  * change this value anyway, since it doesn't hurt much if it's too large.
  152.  * If you change it here, then change it in both the changefiles to match!
  153.  */
  154. #define    FILENAMESIZE    1024
  155.  
  156. /*
  157.  * Define the variable REGFIX if you want TeX to be compiled with local
  158.  * variables declared as "register".  On SunOS 3.2 and 3.4, and possibly
  159.  * with other compilers, this will cause problems, so use it only if
  160.  * the trip test is passed when it's turned on.
  161.  */
  162. #undef    REGFIX
  163.  
  164. /*
  165.  * Define VAX4_2 if you are running 4.2 or 4.3 BSD on a VAX.  This will
  166.  * cause Metafont to use some assembly language routines in place of
  167.  * some generic C routines.
  168.  */
  169. #undef    VAX4_2
  170.